package com.gaogzhen.datastructure.symbolTable;

/**
 * @author Administrator
 * @version 1.0
 * @description
 * @date 2022-11-11 21:06
 */
public class STTest {
    public static void main(String[] args) {
        ST<String, Integer> st = new SequentialSearchST<>();
        st.put("11", 4234);
        st.put("21", 2342);
        st.put("31", 132);
        st.put("41", 41);
        System.out.println(st);
        System.out.println(st.get("11"));
        System.out.println(st.get("51"));
        System.out.println(st.size());
        System.out.println(st.delete("31"));
        System.out.println(st.contains("41"));
        System.out.println(st);
    }
}
